package com.hopu.service.Impl;

import com.hopu.mapper.DjsfMapper;
import com.hopu.pojo.Djsf;
import com.hopu.service.DjsfService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DjsfServiceImpl implements DjsfService {
   @Autowired
   private DjsfMapper djsfMapper;



    @Override
    public List<Djsf> findAllDjsf() {
        return djsfMapper.findAllDjsf();
    }

    @Override
    public  List<Djsf> findAllSfByMid(int mid) {
        return djsfMapper.findAllSfByMid(mid);
    }

    @Override
    public int addSfXf(int mid, Double myzj, Integer eid, long mbegintimee) {
        return djsfMapper.addSfXf(mid,myzj,eid,mbegintimee);
    }


}
